package com.geek.jvm2work.model;

import lombok.Data;

/**
 * @Author: lishuangqiang
 * @Date: 2021/11/13
 * @Description:
 */
@Data
public class User {

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String gender;

    /**
     * 座右铭
     */
    private String motto;


    @Override
    public String toString() {
        return age + "岁" + gender + "人[" + name + "]的座右铭居然是: " + motto + "!!!";
    }

}
